﻿using Microsoft.EntityFrameworkCore;
using Model;

namespace DAL
{
    public class HospitalDbContext : DbContext
    {
        public HospitalDbContext(DbContextOptions options) : base(options)
        {
        }

        /// <summary>
        /// 科室表
        /// </summary>
        public DbSet<WardModel> wardModels { get; set; }
        /// <summary>
        /// 用药表
        /// </summary>
        public DbSet<MeditionModel> meditionModels { get; set; }
    }
}
